package cn.jdy.plugins.wap;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.socket.WebSocketHandler;

import cn.jdy.common.ctrl.BaseCtrl;
import cn.jdy.plugins.websocket.WebsocketEndPoint;


/**
 * @desc   Socket建立连接（握手）和断开
 * @author jga
 * @date   2017-12-26
 *
 */
@Controller
@RequestMapping("/myHandlerfl")
public class WatchUserInfoCtrl extends BaseCtrl {

	
	@RequestMapping("/fl") 

	public WebSocketHandler myHandler() {
		
		return new WebsocketEndPoint();  
	}
}